feat: Add Latest State TransactionValidator implementation#1498
Conversation
|
@mattsse |
mattsse
left a comment
There was a problem hiding this comment.
forgot about the error.
let's change the function so it returns a result instead.
…dd_Latest_State_TransactionValidator_implementation
|
@chirag-bgh this will be a blocker shortly, do you have bandwidth to get this over the line? |
…nValidator_implementation
I will get this done asap. |
|
@mattsse reth/crates/primitives/src/transaction/mod.rs Lines 168 to 175 in a553c1d But I'm not able to figure out how this should be done. |
|
right, we'd need to extend the PoolTransaction trait with
this is an option because it is optional for legacy tx |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1498 +/- ##
==========================================
- Coverage 74.48% 74.32% -0.17%
==========================================
Files 377 377
Lines 45197 45355 +158
==========================================
+ Hits 33667 33711 +44
- Misses 11530 11644 +114
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
mattsse
left a comment
There was a problem hiding this comment.
thanks for this.
left a few comments,questions and suggestions.
this looks pretty good, just need to get all checks right.
we should have a closer look at how geth handles some of the checks as well.
…nValidator_implementation
…on' of https://github.com/chirag-bgh/reth into feat/Add_Latest_State_TransactionValidator_implementation
mattsse
left a comment
There was a problem hiding this comment.
great progress,
I think we're almost there.
mostly nits.
the Arc change seems redundant?
mattsse
left a comment
There was a problem hiding this comment.
please don't mark requests as resolved without addressing them if no changes are made.
last change requests I think.
Sorry, I marked them as resolved because I made the changes on my local and didn't pushed so that I could keep track of unresolved comments. Will do it now. |
mattsse
left a comment
There was a problem hiding this comment.
merging to unblock, this PR has been going on for a bit too long.
Closes #1289